package com.ziytek.web.citizen.service.itf;

import com.ziytek.web.citizen.model.req.CapacitySchemeAddReq;
import com.ziytek.web.citizen.model.req.CapacitySchemeModifyReq;
import com.ziytek.web.citizen.model.req.SchemeQueryReq;
import com.ziytek.web.citizen.model.rsp.SchemeQueryRsp;

/**
 * @author fenghx
 * @version 1.0
 * @className StepSettingService
 * Description: 工步设置
 * @date 2024/3/15 10:13
 */
public interface CapacitySchemeService {
    /**
     * Description: 工步设置方案新增
     *
     * @param req    req
     * @param id     id
     * @param addNew addNew
     * @return String
     */
    String schemeAdd(CapacitySchemeAddReq req, Long id, boolean addNew);

    /**
     * Description: 工步设置方案修改
     *
     * @param req req
     * @return String
     */
    String schemeModify(CapacitySchemeModifyReq req);

    /**
     * Description: 工步设置方案刪除
     *
     * @param id id
     * @return String
     */
    int schemeDel(String id);

    /**
     * Description: 工步设置方案查询
     *
     * @param req req
     * @return StepSettingsQueryRsp
     */
    SchemeQueryRsp schemeQuery(SchemeQueryReq req);
}
